package com.mlethe.android.demo.dialog;

import android.os.Bundle;

import com.mlethe.android.demo.R;
import com.mlethe.library.dialog.DialogFragment;

/**
 * @author Mlethe
 * @date 2020/8/5
 */
public class TestSecondDialog extends DialogFragment {
    @Override
    protected int getLayoutId() {
        return R.layout.dialog_unsubscribe;
    }

    @Override
    protected void onBindViewHolder(Bundle savedInstanceState, ViewHolder holder) {
        holder.setOnClickListener(R.id.dialog_left_btn, v1 -> {
            dismiss();
        })
                .setOnClickListener(R.id.dialog_right_btn, v1 -> {
                    dismiss();
                });
    }
}
